# -*- coding:utf-8 -*-

from django.shortcuts import render
from django.views.decorators.csrf import csrf_exempt
from django.conf import settings
from aircos.tools import views_tools
from django.http import HttpResponseNotFound,HttpResponseServerError


def set_is_manual_check(request):

    data={
"store_id":"店铺id",
"activity":
[
    {
    "activity_id":"uuid",
    "activity_type":"12",

     "activity_rule":
     [{
            "activity_rule_id":"uuid",
            "accord_cost":"满足价格",#没有则为0
            "accord_amount":"满足数量",#没有则为0
            "accord_cost":"满足价格",
            "gifts":
            [
                {"gift_count":0,
                 "sku_id":"商品id"
                }
            ]
        }
     ]
    }
]
}

    print "set_is_manual_check"
    return views_tools.success_json(data)